package com.linsen.core.log.props;

import com.linsen.core.log.enums.LogStorageType;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author zhaoyong
 * @date 2023/3/12
 */
@Data
@RefreshScope
@ConfigurationProperties(prefix = "linsen.log")
public class LinsenLogProperties {
    /**
     * 是否启用
     */
    private Boolean enable = Boolean.TRUE;

    /**
     * 记录日志类型
     */
    private LogStorageType logStorageType = LogStorageType.RABBITMQ;
}
